package com.ys.otms.utils.ali;

import com.aliyun.mns.client.CloudQueue;
import com.aliyun.mns.client.MNSClient;

public class TokenForAlicom {
    private String messageType;
    private String token;
    private Long expireTime;
    private String tempAccessKeyId;
    private String tempAccessKeySecret;
    private MNSClient client;
    private CloudQueue queue;

    public TokenForAlicom() {
    }

    public String getMessageType() {
        return this.messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getToken() {
        return this.token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpireTime() {
        return this.expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public String getTempAccessKeyId() {
        return this.tempAccessKeyId;
    }

    public void setTempAccessKeyId(String tempAccessKeyId) {
        this.tempAccessKeyId = tempAccessKeyId;
    }

    public String getTempAccessKeySecret() {
        return this.tempAccessKeySecret;
    }

    public void setTempAccessKeySecret(String tempAccessKeySecret) {
        this.tempAccessKeySecret = tempAccessKeySecret;
    }

    public MNSClient getClient() {
        return this.client;
    }

    public void setClient(MNSClient client) {
        this.client = client;
    }

    public CloudQueue getQueue() {
        return this.queue;
    }

    public void setQueue(CloudQueue queue) {
        this.queue = queue;
    }

    public void closeClient() {
        if (this.client != null) {
            this.client.close();
        }

    }
}

